<template>
    <view> demo组件 </view>
</template>

<script setup>
// 导入uniapp生命周期函数
import { onLoad, onShow } from '@dcloudio/uni-app'
import { defineComponent } from 'vue'
defineComponent({
    name: 'Demo1'
})

onLoad(async param => {
    console.log('demo组件加载成功', param)
})

onShow(() => {
    console.log('demo组件加载成功===on')
})
</script>

<style scoped></style>
